public class CarTest2 {
    public static void main(String[] args) {
        Car2 car2=new Gelly("Gelly",genderCarType.jiaoche,100000);
        System.out.println(car2.toString());
        System.out.println("汽车数量:"+car2.getCount());
        System.out.println("汽车类型:"+car2.getType());
        car2.carFunction();
        System.out.println("****************");
        Car2 car3=new BYD("byd",genderCarType.suv,150000);
        car3.carFunction();
        System.out.println(car3.toString());
        System.out.println("汽车类型:"+car3.getCount());
    }
}
